<template>
	<div class="introducedetails">
			<div v-html="info.details"></div>
	</div>
</template>
<!-- productdetails -->
<script>
	export default {
	    data() {
			return {
				info : [],
				id   : ''
				
			}
	    },
		created() {
			var  query  = this.$route.query;
			this.id     = query.id;
			this.all();
		},
		methods:{
			urlClick(e){
				this.$router.push('/introducedetails?id='+e);
			},
			all(){
				let that = this;
				that.$http('get','/api/index/productdetails',{'id':that.id}) .then(function (res) {
					that.info = res.data;
					console.log(res.data);
				});
			}
		},
	}
</script>

<style>
	.introducedetails {
		width: 100%;
	}
	.introducedetails img {
		width: 100%;
		height: 100%;
	}
	.introducedetails p {
		margin: 0;
	}
</style>